package org.example.reggie.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Orders implements Serializable {
    private static final long serialVersionUID = 1L;

    private long id;
    private String number;
    private int status ;
    private long userId;
    private int payMethod;
    private BigDecimal amount;
    private String remark;
    private String phone;
    private String address;
    private String userName;
    private String consignee;
  //  @TableField(fill = FieldFill.INSERT)
    private LocalDateTime orderTime;

   // @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime checkoutTime;
}
